Skip to content

2026-01-01 API Upgrade#9584

Open
2003LK wants to merge 11 commits intoAzure:mainfrom
2003LK:api-ga
Open

2026-01-01 API Upgrade#9584
2003LK wants to merge 11 commits intoAzure:mainfrom
2003LK:api-ga

Conversation

@2003LK
Copy link
Contributor

@2003LK 2003LK commented Feb 9, 2026


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

Updated to 2026-01-01

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Feb 9, 2026

️✔️Azure CLI Extensions Breaking Change Test
️✔️Non Breaking Changes

@azure-client-tools-bot-prd
Copy link

Hi @2003LK,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 9, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

@yonzhan yonzhan requested review from kairu-ms and necusjz February 9, 2026 23:20
@yonzhan yonzhan requested a review from jsntcy February 9, 2026 23:20
@2003LK 2003LK marked this pull request as ready for review February 17, 2026 22:05
Copilot AI review requested due to automatic review settings February 17, 2026 22:05
@2003LK
Copy link
Contributor Author

2003LK commented Feb 17, 2026

AAZ PR: Azure/aaz#940

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request upgrades the Azure Databricks extension to use API version 2026-01-01, bumping the extension version from 1.3.0 to 1.3.1. The PR includes comprehensive updates to all API command files, test improvements, and a new feature that automatically sets the SKU to "premium" for serverless workspaces when no SKU is explicitly provided.

Changes:

  • Upgraded API version from 2025-10-01-preview to 2026-01-01 across all databricks command files
  • Added logic to default SKU to "premium" for serverless compute mode workspaces
  • Improved test resource group handling by replacing hardcoded resource group names with dynamic references
  • Enhanced test reliability by adding --no-wait flags to vnet-peering delete commands to avoid race conditions

Reviewed changes

Copilot reviewed 33 out of 44 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/databricks/setup.py Version bump from 1.3.0 to 1.3.1
src/databricks/HISTORY.rst Added release notes for version 1.3.1 documenting the API upgrade and SKU default feature
src/databricks/azext_databricks/tests/latest/test_databricks_scenario.py Replaced hardcoded resource group "auto-test-databricks-g9" with {rg} variable, added --no-wait to vnet-peering delete commands, and added test case for serverless workspace without explicit SKU
src/databricks/azext_databricks/tests/latest/recordings/*.yaml Updated test recordings with new API version 2026-01-01 and current test execution timestamps
src/databricks/azext_databricks/aaz/latest/databricks/workspace/_create.py Updated API version to 2026-01-01 and added logic to set default SKU to "premium" for serverless workspaces
src/databricks/azext_databricks/aaz/latest/databricks/workspace/*.py Updated API version strings from 2025-10-01-preview to 2026-01-01
src/databricks/azext_databricks/aaz/latest/databricks/access_connector/*.py Updated API version strings from 2025-10-01-preview to 2026-01-01

if sku is not None:
compute_mode = args.get("compute_mode", None)
sku_value = args.get("sku", None)
if (not sku_value or sku_value == "") and compute_mode and compute_mode.lower() == "serverless":
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The condition checking whether to set a default SKU uses (not sku_value or sku_value == ""). This condition will evaluate to True for various falsy values including 0, False, empty list, etc., which may not be the intended behavior. Consider using a more explicit check like if sku_value is None or sku_value == "" or if not sku_value alone (without the redundant or sku_value == "" part) to make the intention clearer. The current condition with both checks suggests uncertainty about what values to expect.

Suggested change
if (not sku_value or sku_value == "") and compute_mode and compute_mode.lower() == "serverless":
if (sku_value is None or sku_value == "") and compute_mode and compute_mode.lower() == "serverless":

Copilot uses AI. Check for mistakes.
Comment on lines +14 to +16
1.2.1
+++++
* Upgrade API version from 2025-10-01-preview to 2026-01-01
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The HISTORY.rst entry for version 1.2.1 states "Upgrade API version from 2025-10-01-preview to 2026-01-01", but this appears to be misleading since version 1.3.0 shows this change was reverted. This historical entry might confuse users about which version actually contains the API upgrade. Consider clarifying that 1.2.1 was never released or that the change was reverted in 1.3.0 and re-applied in 1.3.1.

Suggested change
1.2.1
+++++
* Upgrade API version from 2025-10-01-preview to 2026-01-01
1.2.1 (unreleased)
+++++
* Upgrade API version from 2025-10-01-preview to 2026-01-01 (this change was later reverted in 1.3.0 and re-applied in 1.3.1)

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants